<script setup lang="ts">
import { ref } from 'vue'
const input = ref('')
</script>

<template>
    <div class="search-box">
        <div class="search-box-input">
            <el-input v-model="input" placeholder="请输入商品/商店" clearable />
        </div>
        <div class="search-box-btn">
            <el-button type="primary">搜索</el-button>
        </div>
    </div>
</template>

<style>
.search-box {
    width: 300px;
    height: 60px;
}

.search-box-input {
    width: 260px;
    height: 30px;
    display: inline-block;
}

.search-box-btn {
    width: 40px;
    height: 30px;
    display: inline-block;
}
</style>
